Personal tools

Lua/Shared/Network

From JC2-MP Documentation

< Lua‎ | Shared
Jump to: navigation, search

Tutorial: Using network events

Functions

Returns Prototype
Broadcast(string)
Broadcast(string, object)
Send(Player, string, object)
Send(Player, string)
Send(string, object)
Send(string)
SendNearby(Player, string, object)
SendNearby(Player, string)
SendToPlayers(table, string)
SendToPlayers(table, string, object)

Functions inherited from BaseEventManager

Returns Prototype
Event Subscribe(string, object)
Event Subscribe(string, object, object)
Unsubscribe(Event)
UnsubscribeAll()